home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: New Zealand Amiga Users Group / New Zealand Amiga Users Group Newsdisk v27 (1989-12)(NZAmigaUG).zip / New Zealand Amiga Users Group Newsdisk v27 (1989-12)(NZAmigaUG).adf / ZapDH0 / zapdh0.doc < prev    next >
Text File  |  1993-12-03  |  3KB  |  76 lines

  1. ZAPdh0
  2. ------
  3. By John Davis, October 1989
  4.  
  5. What it does
  6.  
  7. All  you  2090  owners  ....   ever  get  _really_ annoyed with that forced
  8. OldFileSystem  Dh0  partition.  It's bad enough that you hvae to waste 400k
  9. of  disk  space  with the OFS partition, but what is really inconvenient is
  10. that  you  can't  cancel  the device ( assign dh0:  remove sends you off to
  11. meet  the  guru ), and therefore means you can't assign DH0:  to be the FFS
  12. partition.
  13.  
  14. This  in  turn  means  that all those _nice_ programs with install programs
  15. that want to install to DH0, or those equally _nice_ programs that give you
  16. file  requester  gadgets for DH0 aren't much fun at all ( okay ...  call me
  17. lazy,  but  newzapping three zillion programs so as DH0->FH0 is not my idea
  18. of  fun  ...   at  this  point  I  should say a big thank you to all _real_
  19. programmers whose filereq's know what the _current_ dir is, and start there)
  20.  
  21. Well  this program is just for you.  What it does is munge it's way through
  22. the  DOS  device  list, looking for that 'orrible DH0 node .  When it finds
  23. it,  it alters the DeviceNodeName so as it's name is now ZH0.  You are then
  24. free to assign DH0:  onto your real main partition.
  25.  
  26.  
  27.  
  28.  
  29. Usage
  30.  
  31. Pretty simple really, just chuck ZAPDh0 somewhere in your startup-sequence.
  32.  
  33. It is _probably_ safer if you do it once you've assigned everything over to
  34. the  FFS  partition,  but  it seems that it's pretty safe to put just about
  35. anywhere  (  as  any existing dos locks to dh0:blah will still point to the
  36. _old_  DH0:   ...   it's just any new references that will get the assigned
  37. DH0 ).
  38.  
  39. eg .. in your startup-sequence
  40.  
  41.      ZAPDh0
  42.      assign DH0: fh0:
  43.  
  44. From  now  on  all  references to DH0:  will refer to FH0:.  If you want to
  45. acces  the  OFS  partition,  you still can ( unlike if you use assigndev ),
  46. it's just now called ZH0:  ( or you can still access it via workbench )
  47.  
  48.  
  49.  
  50. Warning
  51.  
  52. This  program  is  what CBM tech support would probably describe as 'wildly
  53. illegal'  ...   I access structures I've got no right to.  As such I cannot
  54. guarantee  it will work on any given setup, nor that it will work in future
  55. releases  of the OS.  I have tested it on 2000's with 2090's, and on my own
  56. C-Ltd drive.
  57.  
  58.  
  59.  
  60. Licence Agreement
  61.  
  62. There is none !! It's absolutely 100% Public Domain.
  63.  
  64. If  this  program  makes  you  happy,  and makes your life a little easier,
  65. that's  good.   If  you  feel  obliged  to thank me, then that's alright, I
  66. always  enjoy  getting  letters  from  fellow amiga users.  If it makes you
  67. unhappy ( i.e.  it's got some bug I haven't found ), then also write to me.
  68.  
  69. My contact adress is .....
  70.  
  71.    John Davis
  72.    31 Clarence St
  73.    Christchurch 2
  74.    New Zealand
  75.  
  76.